from django.db import models
from django_countries import CountryField

# TODO: move to shared MyConstants class

STATUS_CHOICES = (
    (1, "approved")
    , (2, "deleted")
)

class Pos(models.Model):
    status_id = models.IntegerField(choices = STATUS_CHOICES)
    country = CountryField()

    name = models.CharField(max_length = 128, blank = True)
    
    updated_at = models.DateTimeField(auto_now = True)
    created_at = models.DateTimeField(auto_now_add = True)
